Skip to content

use caching for faster Travis builds #390

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 29, 2016
Merged

Conversation

SethTisue
Copy link
Member

No description provided.

@sjrd
Copy link
Member

sjrd commented Jan 7, 2016

store build cache
$ bundle clean
0.00s1.26schanges detected, packing new archive
FAILED: tar -Pzcf /home/travis/.casher/push.tgz 
tar: Cowardly refusing to create an empty archive
Try `tar --help' or `tar --usage' for more information.
uploading archive
failed to upload cache
curl: Can't open '/home/travis/.casher/push.tgz'!
curl: try 'curl --help' or 'curl --manual' for more information

Note the big FAILED and later "failed to upload cache" ...

@SethTisue
Copy link
Member Author

hmm, maybe because 66c5785

@SethTisue SethTisue self-assigned this Jan 11, 2016
@SethTisue
Copy link
Member Author

Bundler::GemspecError: Could not read gem at /home/travis/build/scala/scala-lang/bundle-vendor/bundle/ruby/1.9.1/cache/highline-1.6.21.gem. It may be corrupted.
An error occurred while installing highline (1.6.21), and Bundler cannot
continue.
Make sure that `gem install highline -v '1.6.21'` succeeds before bundling.

😱

@SethTisue
Copy link
Member Author

well I had hit rebuild before without the problem going away, but I tried hitting rebuild again, and this time it worked. so let's be optimistic and assume it was some transient problem.

SethTisue added a commit that referenced this pull request Jan 29, 2016
use caching for faster Travis builds
@SethTisue SethTisue merged commit 31ebf30 into scala:master Jan 29, 2016
@SethTisue SethTisue deleted the travis-cache branch January 29, 2016 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants